<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
    <style>
      .box {
        width: 300px;
        height: 300px;
        border: 1px solid red;
        margin: 50px auto;
        background-image: url(./images/aoteman.jpg);
        background-repeat: no-repeat;
        /* 背景定位 */
        /* 如果是设置单词，仅写一个方位，另一边默认是center */
        /* background-position: center; */
        /* background-position: x y */
        background-position: 30px 80px;
      }
    </style>
  </head>
  <body>
    <div class="box"></div>
  </body>
</html>
